package com.example.gokchinesefoodmappcdev.service;

import com.example.gokchinesefoodmappcdev.entity.dto.MarketingDTO;
import com.example.gokchinesefoodmappcdev.util.ResultData;

public interface MarketingService {
    /**
     * 新增营销商品信息
     * @param marketingDTO
     * @return
     */
    public ResultData insertMarketingCommodityAndMarketingPicture(MarketingDTO marketingDTO);

    /**
     * 营销商品列表查看
     * @return
     */
    public ResultData selectMarketing();

    /**
     * 删除首页运行管理图片
     * @param id
     * @return
     */
    public ResultData deleteMarketingPictureById(Integer id);

    /**
     * 删除营销商品
     * @param id
     * @return
     */
    public ResultData deleteMarketingCommodById(Integer id);
}
